Added loglevel option support

This is beneficial so as the socket.io output does not clutter the output log