Added utf-8 encoding on control socket