cheap exclusion of sockets from binary check