Implemented XPT Ping functionality to resolve NAT issues submitted by Yury aka yvg1900.

RdB change note: Commented out ticker.h that appears to be from linux ports of miner. Switched calls to use GetTickCount64() instead. Added #include <iostream> for std::cout.