fixed an embarrassing braino
removed dead _popped method and added a transport property to protocol events, endpoints, and deliveries
PROTON-772: Fix portability bug in original commit - use compat_types.h instead of stdbool.h directly.