tests: socket: tcp: Test handling of EOF condition on socket
tests: socket: tcp: Test handling of EOF condition on socket

If peer socket closed, the other side should get 0 from recv(), and
should get in stable manner (no matter how much time went from the
closure and/or how many times recv() is called).

Signed-off-by: Paul Sokolovsky <35cb557f011771c94f127d6fef99f804b62203f5@linaro.org>

GiulianoFranchetto/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,ldts/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,Vudentz/zephyr,ldts/zephyr,galak/zephyr,galak/zephyr,finikorg/zephyr,nashif/zephyr,nashif/zephyr,finikorg/zephyr,finikorg/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,ldts/zephyr,ldts/zephyr,galak/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,ldts/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,finikorg/zephyr,nashif/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,galak/zephyr