repair ping packet parsing in creation of reply, fix AvatarMixer crash with UNIX client

-closes #1774