Add support to flashlight for tcp proxies (fallbacks)

I just refactored this method a little to make it easier to follow:

https://github.com/getlantern/flashlight-build/commit/47b0a0218b109e95c35846c2d31fb05acc5a749a