Issue #259: Fixes SRWebSocket crash