added paramter -d and -u to limit for upload or download test only.
added more detailed output of used server in -w.
added more debug output.