new version coap.cgi script