use window.location.hostname instead of localhost to conect client socket
Merge pull request #18 from invisiblejs/socket_hostname

use window.location.hostname instead of localhost to conect client socke...