Added http timeout option.