changed http client from standard java HttpUrlConnection to Unirest