Support for routing based on client IP
Store IPv6 localhost as 127.0.0.1 rather than ::1