ABXES Algorithm and some fixes and improvements

ABXES algorithm (still in development).

Some fixes in other clases and improvements, also client connections,