Fixed errno "returned" by socket_recv()