probably shouldn't merge this stuff. I can show you on friday how to use shoal-agent to fake a squid server sending a message to shoal server.