Added basic support for websockets.