added option to set the timeout for the http connection
unbroke the requires