[PATCH 1/6] server: Do not return the socket state from get_socket_event.