fix #947 add support for compressed responses and basic auth on the alternative http connection