3.2.4.3 Application Request to Close Stream

The application can at any time request that the stream be closed. When this trigger is received, the Security Provider Context MUST be deleted, the Underlying TCP Connection MUST be closed, and the Stream State MUST be set to Closed.