adding more information when can't connect
use return value from strerror_r
Release 1.0.2

Signed-off-by: Jason Carey (hanumantmk) <jcarey@argv.me>
Post release bump
minor: fix misspelling in undef causing macro to be leaked