Server information is GBK-encoded. If we convert it to UTF-8 before logging, most popular SSH terminal can show it correctly. It is more convenient for troubleshooting.
Try not to add dependency on libiconv, as it isn't install by default on OpenWrt. Embedded implementation is preferred. If libiconv is necessary, configure as an compiling option.
No conversion:

Converted with iconv:
