Improve sockRequest and sockRequestRaw check Upstream-commit: 1f963af697e8df3a78217f6fdbf67b8123a7db94 Component: engine