socket: Return -ECONNRESET from socket_receive_timeout() instead of -EAGAIN if peer closed the socket
socket: Return -ECONNRESET from socket_receive_timeout() instead of -EAGAIN if peer closed the socket

Returning -EAGAIN would indicate the caller can try again, but if the peer
closed the socket that wouldn't make any sense. Thanks to sctol for reporting.

libimobiledevice/libusbmuxd,libimobiledevice/libusbmuxd,libimobiledevice-win32/libusbmuxd,libimobiledevice-win32/libusbmuxd