fixed ws instead of wss protocol (location mismatch in safari), also removed jsonp-polling