enclose everything in cppsockets namespace

(Also, add the __CPPSOCKETS prefix to header defines)