network: refactor code about connection session, add pageToField()
network: add virtual keys for connection session