OREd: client.c; Partial IPv6 support