Refactored client connection.
Increased backup retry count to 5.
Refactored serialization internal classes.
Improved long read/write to byte[]