Moved connection attempt logging prior to connect attempt.
Expanded client command line support by using argparse.
Expanded command line support for server by using argparse.