Hostname -> origin. Maybe fix sockets io?
actual sockets.io fix
Fix on disconnect not firing... polling frequency, timeout length, etc. definitely need tweaking, however.