Refactor API

This change makes the exported Logger type a struct that wraps an interface.
This makes it possible to only define cosmetic methods on this struct, instead
of polluting the interface definition.
Remove obsolete function
Remove HTTP-related code

This is not used anywhere right now. It can be restored from history if it is
needed down the road.