allow passing port via command-line option