added configurable http timeout to http gets/posts