Expose if connection used proxy in metadata.

They used to be exposed via HTTP response headers, thus they had to be strings. We've kept them as such for consistency. It also makes the interface to the app a little bit easier to say "all values are strings" rather than documenting in a loose way the type of each value.