- Socket.io Authentication.

   All files that use socket.io should be modified:
   add:
      <script src="/auth/auth.js" type="text/javascript"></script>
   before
      <script src="/socket.io/socket.io.js"></script>

   and by open of the socket io:
      var socket = io.connect( $(location).attr('protocol') + '//' +  $(location).attr('host')+"?key="+socketSession);