Registration over http

Previously registration was over WebSocket and Heartbeat over HTTP. Now Registration can be don over HTTP too.