AGSMPLPUSH-42 "xhr_streaming/xhr_polling protocols are not working"

This PR is dependent upon https://github.com/aerogear/aerogear-simplepush-server/pull/66 which should be processed before this PR.