Adding a func to return the current offset for a broker.

I didn't see an easy way to get the current offset from a running broker.  Adding it, as I've been using this in my code.  Please let me know if I've missed something obvious.