send completion fix for socket it_api implementation (#862)