Use AUTH_TIMEOUT only before authdone != 1.

While at it, fix a few indentations and typo.
Fix typo
Add new monotonic_now() wrapper so that timeouts are unaffected by
system clock changes
Experiment of always writing data if available. Might waste a writev() with
EAGAIN but always saves a select() - needs testing with bandwidth-limited
and CPU-limited situations.
Fix monotonic_now() on OS X
Fix pubkey auth if the first key presented fails (infinite loop of
auth requests). Regresssion in ff597bf2cfb0
Print errno information in write_packet
Limit size of the iovect passed to writev in packet.c
Be more careful in case a platform doesn't define UIO_MAXIOV nor IOV_MAX
Fix compiling with ECDSA and DSS disabled
Improve handling lots of concurrent forwarded connections. Increase
connection backlog, avoid check_close() for channels that haven't had IO
Send a failure response if a client receives a global request
Make sure client exit messages don't get lost
Make -K keepalive behave like OpenSSH's ServerAliveInterval
Fix auth timeout regression
Set tcp priority as follows:

if (connecting || ptys || x11) tos = LOWDELAY;
else if (tcp_forwards) tos = 0;
else tos = BULK;

TCP forwards could be either lowdelay or bulk, hence the default priority.
changes for 2014.64
merge

--HG--
branch : coverity