make lwm2mclient more non-IPv6 friendly
Merge pull request #27 from kartben/patch-1

make lwm2mclient more non-IPv6 friendly