should be using setdefault
add DEV_ALLOW_ANY_AGENT_ADDRESS for command line usage