getlantern/lantern#1762 Suggested improvements to original fix

@myleshorton Suggestions from my review of your changes
Doesn't this have the same issue with not reusing connections on the reverse proxy?