Add console log statements to determine the real problem with BOSH and Strophe.