Fixed Socket.IO header 

The emit function headers were not complete, and a function was missing from the Socket object.