In the 16c, a "goose" referred to a prostitute. Therefore, this song is referring to venereal diseases, which were extremely common, happening "upstairs" with the middleclass, "downstairs" with the servants, and even in the master's chamber.
This depicts a "master" and a "goose."
The more you know.