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

Returning appropriate retcode in case we failed to determine own address..