adds websocket support