PhantomReporter: Testing for Node instance fails when Node is a SocketIO...

... Object

In recent V8 builds Nodeis defined as a SocketIO object, instanceof on it in line 123 causes a TypeError exception.
The fix added a test to make sure that it is not a SocketIO type of object and make things work again.