Add some static factory methods to MockHttpException.