Couple of minor fixes to nn_usock

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>