Add support for multiple hop header encoding