# Functions
New returns an initialized Gateway with a file;ogger in the persistent directory.
# Constants
EncodedSessionHeaderLength is the static length of a session header encoded with the encode package.
# Variables
HandshakNetAddressUpgrade is the version where we upgraded the handshake, to replace the wantConn with a NetAddr.
MinAcceptableVersion is the version below which the gateway will refuse to connect to peers and reject connection attempts.