Add ws_connector_flush() implementation