Implement the setting described in the [spec](https://github.com/elastic/apm/blob/a3510c0484d1eeefc26ae424fdb2ebd151e3bdcd/specs/agents/transport.md#disable_send-configuration).