quick'n'dirty bitcoin signing lib because too lazy to reimplement ECDSA in pure PHP