Throttling

- throttling
- response handling
- refactoring
upgrading to use python-logstash module