Bugfix: Missing includes needed on Windows
Bugfix: Use SOCKETTYPE for notifiers, to avoid potential overflow on Win64
bitforce: Debuglog device information during detection
bitforce: Abstract commands to bitforce_cmd1 (single-stage) and bitforce_cmd2 (double-stage) functions