Do bid router refactor

Should send an error message back to the agent.