Better fix for adding optional parameters to the http client (as timetout, sslverifypeer, etc. ).