[BF] Strip whitespace from IPv4/6 addresses