Separate the secure module for windows machines. Fixes issue #7
Use a temporary map for loading the sites list.
When loading the site list, build the mapping in a temporary variable and then swap it. This (I think) fixes a race condition where sites will not match while the configuration is being updated. As far as I know, swapping out the map like that is an atomic operation and this does not require the use of a mutex or making 'sites' not a global variable and using goroutines to pass around the latest config.
Auto-reload change (Removed unnecessary code.)
Removed infinite wait on channel 'done' and removed watcher close (which is never called.)