add GetCurrentOffset to client

For review @eapache @wvanbergen 

@wvanbergen, I used your code (nearly verbatim) from #89