Make nsocwrap be in the correct file

nsocwrap is a helper for the lexer, it should therefore be defined in
the lexer file.

Signed-off-by: Max Sikstrom <msikstrom@op5.com>