Add the “open” listener.
Remove mask on write-frames.

From RFC6455: “A server MUST NOT mask any frames that it sends to the
client. A client MUST close a connection if it detects a masked frame.”
This is fixed now.