Fix HTTP/s link detection

The previous attempt at this only forced https, this makes the 's' optional.