added namespacing to socket