Try to use urllib2 only for FTP URLs

This should allow us to still benefit from python-requests' SSL cert check
on http URLs.
Fix unit-tests suite for new upstream versions