Update cli.py

Implemented error-checking for the 'get' command. This required a minor change to recvSize--it now tries to convert the size to an int and if it fails, None is returned.