nn_sock and nn_sockbase separates to two distinct objects

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