Import xe from xen-api c/s 11db05966a1e79275405a089e4221d208bc2778b

Note SSL via stunnel is currently broken, however we plan to replace
this with Lwt_ssl anyway.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>