Modified server to check poll/peek effects.

Adding client