first implementation of the new xsockets version 4.0