Client's message loop crude implementation.

The message loop works, need to clean code and handle some errors.
Sending messages is based off user id's instead of something useful.
Need to add option to change delay, right now its set to no delay.