Adding HttpResponseException to WebApi Shim.

Fixes #1284