finish webSocket util.
Compiler failed. So sad...