Prefer runtime.Gosched over time.Sleep in tests
Host and port are configurable