Test whether connection is local using host header