func forward(conn io.ReadWriteCloser, host string) {
    client, err := net.Dial("tcp", host)
    if err != nil {
        log.Fatalf("dial failed: %v", err)
    }