11634: add connect_timeout, timeout and gzip encoding support