Fix a couple of issues, using patches from erlang-patches:
- When using an async thread pool, terminating a process that uses
the file:open/2 that specify the "compressed" option causes a crash.
(by Filipe David Manana)
- Due to a bug in ssl_manager:clean_cert_db, very time a tcp
connection was upgraded the certificates would be leaked and never
removed from the 'ssl_otp_cacertificate_db' table. (by Daniel Barney)