Began seperation of websocket.c to include files