Implemented support for SSL.