CYB-79 Integration tests for CDAP flume sink 

is there a reason why you need to use apache.http for URL connections? Can't you just useJava's URL.openConnection()? We try to avoid pulling in extra libraries when it is not strictly required. 

If you look for more convenience, you could also use the HttpRequests in cdap-common.