factor out proxy configuration
chrome option creation is now a function