How to determine packet-type in proxy-reply