add a way to enable debugging in the console
upgrading socket.io to 1.2