FIX: error on host detection when run behind multiple proxies