[WO-421] Adapt to changes in tcp-socket

Expose socket callback oncert
https://github.com/whiteout-io/tcp-socket/pull/2