add socket property to Packet to reduce method parameters