elazarl/goproxy — pull request #67 by mzimmerman (2014-10-21 15:46:09+00:00)
Title: Fixing #26 while still defeating the infinite recursion bug in #53

If you're running goproxy in Transparent mode, this does require you to set Transparent to true

This does add some minor overhead in looking up the destination host, but that would have to be done anyhow later in the process and this will almost certainly cache the result but does depend on your specific configuration