Make the Protosockets examples possible to compile.
Merge pull request #789 from nvt/fix-psock-examples

Make the Protosockets examples possible to compile.