Bug fix for http client access.