[nginx] add response.send and response.end

add methods to better handle flushing content through a server.