AMI-545 headers can't always be sent, so catch the error anyway.
AMI-545 headers can't always be sent, so catch the error anyway.
AMI-545 move proxy error handler to top level to avoid multiple error handlers piling up.
Merge pull request #11 from SplunkStorm/AMI-545_proxy_error_handling

AMI-545 proxy error handling