HttpClient: add valid ssl certification support