Add default network to PublicKey

Closes #871