De-dupe proxy messages

This would occur when the same proxy is used to handle multiple
prefixes. It's not the most elegant fix but it ought to suffice.