Potential fix for #5
Not sure why this wasn't in the code already.
My main problem now is that this could sometimes report an otherwise
perfectly correct URL as an invalid one (hence the default 15 second
timeout). Should the plugin track these URLs as warnings instead?