playing with proxy config and getting more idiomatic