Updates to correctly setup and configure the socket channels