Update cli.py

get command now uses correct socket for error messages.