sockjs client implementation for unity3D using xhr polling (so this works with unity free license)