implemented all methods of new WebSocketFrame