Refactor proxy response

Some minor refactoring to normalize sending of the proxy response.  Also, fixes a spelling error.