fixed some dropped packet issues, and fixed length reporting in ipv4sock