Add Version field and fix an accessor bug

Primarily, protocol was violated without any Version field for the API.  Added it.

I was getting a warning 'status_code is not an lvalue subroutine', so I threw that in there too.

David