gateway: allow proxy on internal APIs (#2619) (#2628)
gateway: allow proxy on internal APIs (#2619) (#2628)

After inspecting different versions I didn't really find this functionality, seems the code from #1859 didn't include this. I've reused some of its logic in order to achieve what's expected in #2619.
Suggestions are welcome.
lonelycode/tyk,lonelycode/tyk,lonelycode/tyk