Fixed constructing correct BOSH endpoint