* for consistency: renamed tcp/protocol "open_socket" function to "connect", since this is a client-only function that has to connect to a server (+added server socket open TODO)
 * renamed handle_post_connect to handle_post_client_connect and added handle_post_server_connect (when using ssl, these should now issue the correct client/server handshake)