Make Socket.IO and client.js respect the 'silent' flag and send proper Content-Type headers