Set the return parameter to the cookie when needed
correct the shim API in .h and ensure the desync does not happen again by including it
add state parameter to stateless cookie calls and get rid of a global variable for cookie fullstate
avoid strict equality matching on ICMP length, as this will hinder extensibility