added writeHead method to WebSocketStream

The normal stream interface only handles writing the payload.
So it requires to know head information from somewhere else.
This is the "writeFrameState" object. With "writeHead(obj)"
we have a secure and neat access to it.