Adds https support for url conversion. Ensures encompassing square brackets that don't break links.