Fix Daemon on Windows

- added localhost
- sys.executable to get around python2 / python3 issues
- close_fds cannot be combined with stderr and stdout on windows. see python doc.