Tcp test now strips hostname from url