simple java program to get pages via HTTP