Use new public api

I've update toxic to use the new public api.

The only thing not supported seems to be the dht status stuff