Adding support for websockets.