Sync OpenBSD patchset 380:
Sync OpenBSD patchset 380:

Braek some bits out of server_fill_client() that aren't really related to
polling into their own function.


klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux