Clean up kernel starting code

This also made the multisockjs channels behave more like websockets with the readyState attribute.