JSONInput Stream and URL connection