Actually exchanged deprecated class ClientContext with HttpClientContext
Fixed some warnings