Parse response headers, store balance & Auth-Sid

Also check the response version is what we're expecting, so we can warn if its a
new version this module hasn't been tested with.
New query_whois method.

New method to call the query-whois DMAPI method, and parse its response into
a useful data structure.