added frag field to make_rpc_hdr() function