Modified SConstruct in order to build static version
Rewritten to BSD socket API. Everything is broken again