PhantomJS Creating and Connecting to a server