Restore mistakenly removed out.println() statement to actually write the
response to the servlet output
Merge pull request #16 from derek63/restoreservletoutput

Restore mistakenly removed out.println() statement to actually write the
Fix read from closed input stream
Merge pull request #17 from derek63/fixreadfromclosedstream

Fix read from closed input stream