Remove leading and trailing whitespace in URLChecker. fixes #461