Stratum Protocol C implementation for Bitcoin/Litecoin/Darkcoin