preresolve can now return TRUNCATE to return nothing but the truncated-bit, postresolve can return both (TRUNCATE and TRUNCATED). Added protocol string as second lua functions argument ("udp" or "tcp") to each lua call.