add two functions to start and stop coproxy.rb