Update WPSHTTPError to handle cases where nil values are passed in.