Changed socket command code

To CallLocalFunction style.
Updated to latest SIF commit

Uses the new Craft extension 2.0 code.