Make SockJS requests protocol, host & port independent
Merge pull request #3 from Nothing4You/fix-host

Make SockJS requests protocol, host & port independent