go-server: use a more conventional hosts method