added http timeout support for requests