changed socket methods to allow namespaces and broadcasting