Changed ep->transient to ep->isIncomingConnection which is more descriptive. Added switchLabel and isIncoming to peer stats and changed state to a string rather than an int
changed pubkey to publicKey which is the same as everywhere else.