Can read security types from vnc server.
Refactor: Extract function to read version.
Client selects security type.
Can initialize communication.