Function createHttpClient

Creates a new Http client instance