Fix buffer overflow
Add cmdADSread to the example server/client. Fixed client dumping even if AdsDebug is off.
Fix too small buffer. 19 characters + 0
Added pthread check and added -lpthread to compiler flags
Test client should give error on connection problems
Merge pull request #6 from haakonnessjoen/master

Multiple fixes to ADSclient example