How is the «web/secure/use_in_adminhtml» option implemented and used?

See also: