increased buffer for the ip address string from 20 to 50, to allow ipv6 addresses