"Господин" is a VERY formal form of address these days. It was kind of formal (although in a dufferent way) and restricted in use even before 1917.

Back then, if you were writing an official...