Server side refactoring for better socket management
Disable device orientation as it is not reliable and all devices are not
equiped
Manage deviceOrientation activation
Remove disconnect event listener