Clytwynec/capture har on error

@benpatterson @jzoldak  please review... 

This fixes an issue with the proxy not working.  It also adds a check for the content in the test, which is what was missing when the proxy wasn't working right.