Changed socket behavior to use channels instead of namespaces