Networking fundamentals

You need to override hashCode too probably.  Also there's this great thing called EqualsBuilder and HashCodeBuilder.

http://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/builder/EqualsBuilder.html