local mode does not accept other times.

- now if in local mode, no times from other instances are accepted, this can be overridden.
- improved the server detection code.
local mode does not accept other times.

 - now if in local mode, no times from other instances are accepted, this can be overridden.
 - improved the server detection code.