socket-util: Use set_nonblocking() helper function.