This origin contains the aspect of etiquette and so is almost certainly the primary supply of the expression. More pertinently, Skeat's English Etymology dictionary published c.1880 helpfully points out that at that time (ie.
Here is my homepage -
Bonniesdelights.Com