part of #3613: fix get_host_info() usage of base64.encodestring().
2 files changed