Net Server

Net server code.
Cleanup in net client to match.
Algorithm remove_if