hack for ngSocket and custom subdomain
hack for ngSocket and custom subdomain