check allow connect to host
bug fix with host in http headers