nn_sock_send and nn_sock_recv return correct error on a timeout.

To the documentation, on a timeout, errno is to be set to ETIMEDOUT and not EAGAIN.