Fix stupid socket errors, and add api clal for NotSince.