Enable box.digest in stable, closes #297

+ fix bsdsocket test