Fix issue in passing-through of proxy body
Fix issue in passing-through of proxy body

Proxy body was being passed correctly due to placement of defer
statement. This has been moved into outer scope to resolve issue.

Tested with new e2e tests in certifier component.

Signed-off-by: Alex Ellis (VMware) <5f7133baa0f5c7ca63ff11e11f2e2b0d2cf077c8@gmail.com>

alexellis/faas,openfaas/faas,rgee0/faas,openfaas/faas,alexellis/faas,alexellis/faas,rgee0/faas,rgee0/faas,rgee0/faas,alexellis/faas,rgee0/faas,rgee0/faas,rgee0/faas,rgee0/faas,rgee0/faas,openfaas/faas,alexellis/faas,alexellis/faas,rgee0/faas,alexellis/faas,alexellis/faas,alexellis/faas