On the analysis of waveguides of doubly-connected cross-section by the method of conformal mapping