Use the standard dot-decimal notation for IPv4 addresses
Avoid overflow in port number calculation