Ported the socket backend to using Ipaddr.V4.* functions as well.