Added, partial SendLoop, RecvLoop and HandlingLoop.
Minor fixes.
Updated RecvLoop, SendLoop.

test it ? debug it ?
Merge pull request #1 from ludkiller/master

Added RecvLoop, SendLoop , HandleLoop functionality addition to basic code base.