Various Bug Fixes including
* connects to the proper server from the config file
* feof (stream) loop is better than the prior solution
Still missing / correctable
* valgrind complains about uninitialized values
* strdup must be freed, but i don't know where...
committer: Markus Bröker <mbroeker@largo.homelinux.org>