connect_to_server (server: SOCKET)