Allowing application to control if connection would be valid
Copyright notice
Merge branch 'PermitConnection'