Use HEAD when looking at external links.

Closes #12