Update WebSockets options. Support preserve "frames" option
Add properties to WebSockets.onmessage data: last, type.