A simple URL connection in JAVA (connection to localhost apache server)