ANDROID-129 fix issue where HttpStatusCodeException cannot be serialized