socket: fix in `has-binary`