Mask outgoing data.

According to [rfc6455](http://tools.ietf.org/html/rfc6455#section-5.2), data from client to server must be masked,

This PR uses the `Client` class instead of the `Server` class of the `websocket` library for outgoing data frames in order to send masked payload.