How to access Docker Engine API from a docker plugin?

If I’m building a new plugin based on new managed plugin system. See example https://github.com/vieux/docker-volume-sshfs
How do I access Engine API?
It seems like Docker doesn’t allow it since it runs the plugin in some kind of a container.