Small fixes in XKitIM.js

Changed to new and secure WebSocket Server.
Changed the Dashboard detection to use XKit.interface