You can clone with
HTTPS or Subversion.
As I see in http://xmpp.org/extensions/xep-0206.html (2. Wrapper Element) first point says:
If the BOSH wrapper is not empty, then it SHOULD contain one of the following:
but we have:
without xmlns:stream in body and one of our client failed to pasre xml :(
or I missing somethig?...