finished server; added cleanup of old unpaired connections; added example server and client