added http client parameter optimisations