Don't rely on HttpClient to parse the Content Type, fixes #92, #102