Improving Performance and Security in Anonymity Systems