added nssocket to dependencies