fix android logging
expose tun_alloc and udp_alloc