Increase MAX_QUEUED_EVENTS to avoid (some) event loss due to overflow.

There's probably a better fix than this.
Fix too-small buffer for IPv6 addresses on connection via the server list.