add context to test requests
Merge pull request #39 from dgrijalva/test_context

Add context to test requests
Initialize context if nil is passed to TestWithRequest
Fix handler test with new TestWithRequest signature
go fmt
Merge pull request #40 from titanous/test-nil-context

Initialize context if nil is passed to TestWithRequest
switching to setting deadline on upstreams for all writes using a conection wrapper
refactored interfaces for upstreams
close upstream body if it has no length
cleaned up content-length logic
allow bypass of timeout behavior
simplify and correct completion callback
CompletionCallback is at Server level, not Pipeline level
rename SimpleResponse to StringResponse.  SimpleResponse now takes contentLength and an io.Reader.  added ByteResponse and JSONResponse
finished JSON response helper
gofmt
if DNSCacheDuration == 0, cache forever
Merge remote-tracking branch 'fitstar/master'