Minimum implementation of the websockets.