Fixed bug: client now waits for quit flag to close
Fixed client/server timeouts
Abstracted UDP connection