extending urllib to provide a local time based cache