Remove some duplicate IQ code

and some dead code in Socks5PacketUtils.