synched to Impacket r1148