[MINOR] stream_sock: fix a few wrong empty calculations
1 file changed