added peeking, new client handling via channels, fixed command bugs
added the ping command