Package p2phttp allows to serve HTTP endpoints and making HTTP requests through libp2p using Go's standard "http" and "net" stack. Instead of the regular "host:port" addressing, p2phttp uses a Peer ID and lets libp2p take care of the routing, thus taking advantage of features like multi-routes, NAT transversal and stream multiplexing over a single connection. This package is a library that uses Go modules for dependency management.