Implementation of a secure Ip protocol