Added self IP check in network module

Can find your own IP to check when receving a message