Inserted foundation.

Server now tracks clients by id & ip separately and can thereby count
open windows and users separately.