Using HTTP 1.0 in TeamCityClient due to a strange behavior in TeamCity that when we use JSON in api, the response gets sent with transfer-encoding: chunked and that is much slower than not using chunked encoding. The problem could've been alleviated also by using XML instead of JSON.