You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: http.go
    path of file: ./repos/go-http-tunnel/vendor/github.com/inconshreveable/go-vhost
    
    the code of the file until where you have to start completion: package vhost

import (
	"bufio"
	"net"
	"net/http"
)

type HTTPConn struct {
	*sharedConn
	Request *http.Request
}

// HTTP parses the head of the first HTTP request on conn and returns
// a new, unread
    
func HTTP(conn net.Conn) (httpConn *HTTPConn, err error) {
	c, rd := newShared(conn)

	httpConn = &HTTPConn{sharedConn: c}
	if httpConn.Request, err = http.ReadRequest(bufio.NewReader(rd)); err != nil {
		return
	}

	// You probably don't need access to the request body and this makes the API
	// simpler by allowing you to call Free() optionally
	httpConn.Request.Body.Close()

	return
}