Made the variables port, server, and bandwidthLimit global to reduce argument counds.