sock handler fixes, set last sents