improve serialization with SSL, and checked for successful deserialization
improved ssl serialization
changed SSL msg chunk size
make some constants locale to files