Check that content_type is set and isn't empty
Namespace for socket.io