Creates a new protocol of the selected interface or protocol.