Refactor HTTPException ctors