java net program learning, http test.