Added basic code for client communication

Added nonblocking getline for user input in order to allow for sessions
requests to pop up.