Add tests
Disable Nagle's algorithm
Improve buffer flushing logic.
Remove expiration tasks when messages arrive
Fix client connection monitoring
Pending responses management refactoring