fix can't connect message with socket Upstream-commit: f6653c3fa55dc4e0595fc8d3904bd5873f317441 Component: engine