throw exceptions for all openssl errors
Compact Secure_Socket::write()
Change to SecureSocket
Compact SecureSocket::check_server_certificate()
clarify comments for SecureSocket