add middleware to proxy requests without cross domain issues. remove dsconfig dependency