Merge pull request #1 from dsafonov/master

Modification in spec
Merge pull request #2 from dsafonov/master

Interface specification draft
New and improved implementation.
Started implementing interface, proposed by D. Safonov.
Implemented recv and send.
They both return len through a pointer in order for the caller to knowi the exact number of bytes processed.
Successfully compiles
Removed baseimpl.h and baseimpl.cpp.
For good, hopefully
Merge pull request #3 from dsafonov/master

Добавление методов sendMess и receiveMess
Implemented message-driven interface.
Everything needs checking baaadly
Modified SConstruct.
No it is possible to build on MacOS X
Flags in SConstruct were a bit wrong.
Minor fixes
Added a few tests.
Certainly, nothing works
Test worked!
Improved debug printing in "single" test.
Modified SConstruct in order to build static version
Rewritten to BSD socket API. Everything is broken again
Repaired. Now everything, that had worked earlier, works
Merged all code into header. Removed tglib.cpp
Compiles in Windows
Compilation in Visual Studio