fixed memory leaks
Merge pull request #18 from kevinchabreck/memory_leak_fixes

Fixed memory leaks and tested on Get and Put. Julien I had to add a couple lines to get.cpp because we weren't closing the HTML file after reading and sending it, which leaks memory.

Sean