enforces throttling and timeout between requests

THEEE perfect rate limiting code

http://en.wikipedia.org/wiki/Token_bucket

adds disconnect message

removes memory leak test code