network BH and socket layer performance fine tunning.
c++ related changes : customised version of new and free.