Assign EventMachine port

This adds a configuration to specify a port for EventMachine. If no port is specified a random available port is assigned, which was the previous behavior.