[sr-dev] git:4.1: websocket: Set pointers to NULL when freeing ws connection strcutures