Added a configurable timeout for http requests

RE: Jazinga #161