start work on seperating somi functionality into development and production environments
Add port detection logic for development and production environments.

Production listens on 80 and 443 like normal, development picks the first available port from a range of 100 or so.
Merge branch 'master' into dev-env
Incorporate port logic
Merge branch 'dev-env'