Fixed rooms.coffee looking for localhost

Used code from arena.coffee to use current hostname to connect to
socket.io.