Applied some fixes for updated SIOSocket callbacks to work.