Init the socket