closes #1346, set maxSockets on proxy requests without trashing the global value