http parsing cleanup
Allow apps to (optionally) respond to requests before body is sent