python: Change 'print' to 'sys.stderr.write' in client.

Be consistent in how messages are reported.

Added a delay before first prompt to allow socket messages to be printed
before first prompt is displayed.