Add a move constructor to Client
Add unit test to make sure Server realises when Clients disconnect (it
doesn't)
Add wait to allow connection to be made before checking it
Remove pointless creation of an unused errorcode