added configurable http timeouts