Fixed bugs. Added binary to ascii functionality in server