engine-io: Double encode web socket text data

Unfortunately this is necessary due to
https://github.com/Automattic/engine.io-client/issues/322. When a new
version of `engine.io` is released upstream, I will revert this.