s3-epmapper: Use strcmp instead of strequal and check IPv6.