fix for #108 Added utf-8 encoding for remote address

Fix for #108. Added check for none value.