added ip check when receiving echo packets on the client.
rearranged echo packet handling on client.
added initial packet handlers on client.