Send a UPGRADE message when upgrading to websocket
Revert "Use BC syntax when emitting a message"

This reverts commit 87a9de9cdf7787bb07801e602c7173f0ade829f6.

It seems that Socket.io does care about the syntax of the sent message ;
it expects an array when we sent an object instead, which is wrong