Made plugins' onNewConnection work and added a onConnectionClosed method to plugins
Merge pull request #18 from dasMulli/master

Made plugins' onNewConnection work and added am onConnectionClosed method...