preliminary AMT support
cleanup of upipe-nacl + integration with amt