Add api.connections setup and destroy Prozessors

Similar to the api.action prozessors we can now specify processor
plugins to run custom code when a connections is created or before the
connection will be destroyed.