implement download timeouts based on deferred cancellation
add required files to support twisted 11.1 (precise)