Add mutex around request processing.
Add options for bind URLs and ports.