Fixed error when no HTTP status line was present in APIError