Moved websocket functions into websocket.c