Client raises named exceptions for common HTTP error statuses