[S] Change in osmo-mgw[master]: client: replace two assertions with graceful error handling