func NewSocketTransport(path string) *http.Transport {
	socket := NewSocketRoundTripper(path)
	transport := &http.Transport{}
	transport.RegisterProtocol("unix", socket)
	return transport
}
NewSocketTransport creates an http transport that listens to the "unix"
protocol. I.e. requests must be of the form "unix://path".
package thttp
import (
	"bufio"
	"net"
	"net/http"
	"time"
)
type SocketRoundtripper struct {
	path string
}