DB, templates, Web UI: add PortBlock option. Refs #2777