Supporting IPv6.

when edited from IPv6, mark as IP.
https support.

replace "http" to "https".