Allow for multiple functions to be called for a given endpoint
Added option for global middleware
Set a cap on the content bufffer to prevent frivolous resizing
Merge branch 'feature/middleware' into develop