Complete JDK-http/head method
Implemented GET for JDK-htttp impl