'close' response after handling. Note that according to the servlet spec some containers will physically close the http connection (bad) but those that support pipelining wont. I encountered a situation where it appeared that tomcat was not writing the request with small responses unless this was called
make the writeRange method null-safe, so it a null range is passed it will copy the entire stream
defensive null handling, instead of random NPE's when devs do weird stuff
support for partial get's
support for partial get's