Fix #184 remove need for SockJS global for protocol detection
Remove unnecessary utils.delay function
Fix errors
.gitignore upadte
removed msg double encoding, send function now takes arbitrary js type