NNTP protocol implementation with client and server