Updated client to new API.

Added state attribute to threats, as well as a function
to check whether the client is up to date.