Added signal handling and detection of successful auth

undernet_seed can now be either base32 string or a 20 byte HEX string.