microrl: implement hostname

+ minor fixes

Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>