Chat Server Implementation for Networks class