Update getCookie() for new jar format.

This fixes issue #10 for me.