improved FrameState storage, code, tests

We swapped the FrameState class against two different:
FrameReadState and FrameWriteState. Also we updated the
tests to use the new "writeHead()" api. Also we improved
code in the parsing Frame part of WebSocketStream.