making xmpp-ftw and XMPP websocket URLs relative to {{vhostname}}