Fixing memory leak issue
Improved indent
Merge pull request #8 from kenshiro-o/http_mem_leak

HttpURLConnection mem leak and unclosed file descriptors fix