antg_server: implement package parsing