{ + return fmt.Sprintf("[%s]:443", host[:strings.LastIndex(host, ":")]) + } + } + return host +} + +type sockaddr struct { + family uint16 + data [14]byte +} + +// const SO_ORIGINAL_DST = 80 + +// realServerAddress returns an intercepted connection's original ...