_initializeWSS with callbacks
_initializeWSS with callbacks