Multiple packets encoding. #123