sockbase_init error propagated all the way up to the user

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