Replaced HttpClient in uploading keys.
Not yet tested if working