Update secureroom.js

Change server parameter to take just host, and assume protocol, port and handle.