I agree, unfortunately sockjs doesn't provide this