Adding port handling for socket.io when not on www. Useful for dev and debugging.
Merge branch 'master' into story_hash_2

* master:
  Adding port handling for socket.io when not on www. Useful for dev and debugging.