Revert "move from BOSH to websocket"

This reverts commit 4facd860dcb963db4a1432464af4aa2f2d23544b.