adds getConnection() -> Promise to websocket Server

this method doesn't try to establish a connection; its purpose is
just to allow things to use promises to do things once there is a
connection.