[sr-dev] git:master:d4f3c96c: mi_datagram: safety check so the length of mi socket doesn't result in overflow