ads: in AdsSocketConnect we were lying in the comments. Always provide the amsNetId.
examples ADSclient: simplified the client code with internal socket connecting and such.