Implemented SSL support.