How to access proxy-reply:Packet-Type in if condition