Working on clientside code and getting websockets to work.
Fixed websockets serverside.