A basic C++ chat client utilising public key encryption