Allow listening ports be configured from env vars (fixes #192)