Fix potential NPE.
Workaround broken scheme check in Gingerbread's DownloadManager.

It rejected the https scheme even though it can handle it just fine.
Workaround this by copying in the respective internal code and use it
for API < 11.
Don't crash the app when clicking invalid links.