WebSocket pepper.js implementation with included websocket test