Added, partial SendLoop, RecvLoop and HandlingLoop.