Fix IPv6/IPv4 parsing bugs. Update HTML xref.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26360
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26361