Setup proxy's, and logging