Extend socket API to support CHIP reqs See merge request engineering/iot-m-sw/open-iot-sdk/iot-socket!1