Origin of phrase - a mares nest

Have established what this means and it originated in the 16 Century or thereabouts. However I can't find a logical explanation for the use of the words.
Can any one give me a reference?

Replies