http server in java for apprenticeship