Program to work with HttpUrlConnection Class