[FIX] server.py traceback on ctrl-c from windows cmd

Define a shim signal.SIGHUP on windows to avoid an ifdef in the threaded server
loop.