httptesting: add ExpectError parameter
Merge pull request #46 from rogpeppe/004-httptesting-expect-error

httptesting: add ExpectError parameter