Clean up coverity reported leaks in SSL examples and experimental plugin...

....

Tidy up licenses and code standard issues.

Trying again after learning more about git rebase conflict resolution...