Merging the updates BOSH service to old code 

Updated code for the BOSH service from http://github.com/mad-p/xmppr