func (h Host) ToString() string {
    return fmt.Sprintf("%s:%d", h.addr, h.port)
}
converts the host struct to string in the format "addr:port"
package overflow
import (
    "fmt"
    "net"
    "time"
    "strings"
    "errors"
)
const timeout time.Duration = 5000000000
type Host struct {
    addr string
    port int
}
type Payload struct {
    data []byte
    tmpl string
}
func NewHost(addr string, port int) Host {
    return Host{ addr, port }
}