Comuncating over http

Is there a way to tunnel the communication between the Spark app and the openfire server in http? We have a firewall issue that not only blocks the ports, but also inspects the packets and blocks all XMPP packets. We can’t change the firewall settings, but we need to find a way to tunnel the traffic in order to get around the firewall (The openfire server is on the outside of the firewall while the chat clients are inside the firewall).