refactored http client to be autonome and fixed deps versions