Initialize server->ev and server->socket