adding proper client setup for http transport