Added Javadoc and comments to the WebConnection class.