socklen: do not depend on sys_socket