simple http client server program in java