Keep port information for local addresses, etc.

use "IPv6" and "IPv4" in strings as these are the official spellings
make ParseNetwork() in netbase.cpp case-insensitive
Take -port into account when resolving -bind's
Keep port information for local addresses