Added timeout attribute to http and https resources