Use leader when sending to a partition

This fixes production not working with multiple brokers.
Merge pull request #8 from puffnfresh/master

Use leader when sending to a partition