Extract methods from Rails::Server#start