fix(proxy-cache) proxy-cache caches ngx.resp if available
fix(proxy-cache) proxy-cache caches ngx.resp if available

proxy-cache plugin was trying to always cache ngx.resp.get_headers()
locally in handler.lua, but this function is not available for stream
listeners. This change fixes that.

Kong/kong,Kong/kong,Kong/kong