Support for multiple peers. Added a write buffer queue. Support for multiple WHOHAS packets per peer. Simplified message generation and handling to reduce code in peer.c. Improved logging system.