- added code to fix ccflags on HP (as per Lincoln Baxter)
- fixed state/nodeid sharing problem (as per Lincoln Baxter)
- fixed most compiler warnings (as per Lincoln Baxter)
- replaced Base64-encode algorithm to fix buffer overflow
(as per Lincoln Baxter).
- fixed count of tests in test.pl (as per Lincoln Baxter)
- added ok() to every line of test.pl (as per Lincoln Baxter)