add error handling on the proxy middleware
isolate and document the proxy system
merge proxy isolation with lasts PR