Created by: OrBenPorath
Adding attach functionality on windows i#725. Completing this PR.
Main difference from the original PR, is not taking over threads that are terminating (otherwise attach always fails). Additionally, added the possibility to sleep 1 millisecond between takeover attempts, and controlling the number of attempts.
Feature marked as experimental.