Added a semaphore to synchronize main thread and receiver thread
Added bool 'kicked' to outgoing messages to inform a user when they've been kicked
Fixed client not exiting bug and fixed minor memory leak