fixed packet fragmentation

... we cannot use the socket object as key, now using ip