Test case: '127.0.0.1'
Space:      IPv4
Address:    7F000001
Port:       Absent

Test case: '127.0.0.1:80'
Space:      IPv4
Address:    0001F019
Port:       80

Test case: '::1'
Space:      IPv6
Address:    00000000000000000000000000000001
Port:       Absent

Test case: '[::1]:80'
Space:      IPv6
Address:    00000000000000000000000000000001
Port:       80

Test case: '2605:2700:0:3::4713:93e3'
Space:      IPv6
Address:    260527000000000300000000471393E3
Port:       Absent

Test case: '[2605:2700:0:3::4713:93e3]:80'
Space:      IPv6
Address:    260527000000000300000000471393E3
Port:       80

Test case: '::ffff:192.168.173.22'
Space:      IPv6
Address:    C0A8AD16
Port:       Absent

Test case: '[::ffff:192.168.173.22]:80'
Space:      IPv6
Address:    C0A8AD16
Port:       80

Test case: '1::'
Space:      IPv6
Address:    00010000000000000000000000000000
Port:       Absent

Test case: '[1::]:80'
Space:      IPv6
Address:    00010000000000000000000000000000
Port:       80

Test case: '::'
Space:      IPv6
Address:    00000000000000000000000000000000
Port:       Absent

Test case: '[::]:80'
Space:      IPv6
Address:    00000000000000000000000000000000
Port:       80
