Implemented SSL mode for outbound connections.