optimized getJsonFromUrl
(directly returns the BufferedReader instance)
- added new method to close http socket and BufferedReader