Export nids_discard also, to allow the user to manually manage how much data libnids keeps after you return from the TCP callback.

5.t tests that this works (using the HTTP dump file from 3.t).