fork of go's net/http module