Removed support for deprecated sockjs

Change-Id: I7ad77751ec2e4cfd47906fc7405b4127377f4321
Better notification of expected objects

Change-Id: I638e130eaa1695cdeef9656ad5c452a92f08feea
Export register function, and moved to own file

Change-Id: I71f0bfaf4f6edb1685eb796939bc2d891158bfef