Dp 2961

In case the device does not have a firewall, prevent the agent from taking data submissions from external sources. Not sure if the change to tcp.js is needed. I wasn't able to force that error.