The Collaborative International Dictionary
Cocket \Cock"et\, a. [F. coquet coquettish. See Coquette, n.]
Pert; saucy. [Obs.]
--Halliwell.
Cocket \Cock"et\, n.
(Eng. Law) A customhouse seal; a certified document given to a shipper as a warrant that his goods have been duly entered and have paid duty.
An office in a customhouse where goods intended for export are entered. [Eng.]
A measure for bread. [Obs.]
--Blount.
Wiktionary
Etymology 1 n. 1 (context UK obsolete English) a document issued by the bond office stating that duty has been paid and goods may be sold. 2 (context UK obsolete English) An office in a customhouse where goods intended for export are entered. 3 (context obsolete English) A measure for bread. Etymology 2
a. (context obsolete English) pert; saucy
Wikipedia
In old English law, a cocket was a custom house seal; or a certified document given to a shipper as a warrant that his goods have been duly entered and have paid duty. Hence, in Scotland, there was an officer called the clerk of the cocket. It may have given its name to cocket bread, which was perhaps stamped as though with a seal.