Fix for issue#15. Client retcode on failed get_addr.

Returning appropriate retcode in case we failed to determine own address..
Merge pull request #20 from sm00th/issue15

Fix for issue #15. Client retcode on failed get_addr.