Allowing application to control if connection would be valid
Copyright notice
Merge pull request #6 from oliversalzburg/PermitConnection

Made connecting of nodes interruptible  (thanks @oliversalzburg!)