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

Make the Protosockets examples possible to compile.
Avoid compilation warnings in Antelope.
Merge pull request #790 from nvt/fix-netdb-warnings

Avoid compilation warnings in Antelope.
Merge remote-tracking branch 'upstream/master'