proxy-object should only be created if the server is listening

otherwise this module will not work in a clustered application. 

probably the whole ensureServerRunning and pingServer stuff should be removed in proxy.js. i dont see a reason why it shouldn't use all events which a http-Server emits (listening, error, close and so on). i just left it where it is, you decide how you want to handle it