support comparisons for IPv4Address
Merge pull request #4560 from ahammond/support_comparison_for_ipv4

support comparisons for IPv4Address