fix dumb mistake checking for null proxy host