Add method for explicit offset commits. Based off https://github.com/yozhao/kafka/commit/e0c35e4b5c2656babf950eddfea36ea249052f6a