Simple java network monitor