Replaced MMCQ lib with own implementation, much faster and shorter.
Replaced MMCQ lib with own implementation, much faster and shorter.
Handle remote socket closing.