Make guessing URLs in validate_url optional. Fixes habari/habari#465