Added automatic port assignment support. Depends on netstat.

Can, as noted in the source, be overridden with a project's .env file.