adapt to new native APIs (no more reply_to_port)