Allow errbit's own port to be configured

This allows errbit to generate correct links in e-mail messages when errbit is served over a non-standard port.