Writes and parses RFC 6455 WebSocket frames in a stream based manner.