command-and-control server for phantomjs