Weird mixups in native embedded client

These fixes is founded by using fbembed server on x64 OS.
Maybe some fixes should be discussed.
Should be done in [this](https://github.com/cincuranet/NETProvider/tree/TimeStampTimeSpanFix) branch. See [commit](https://github.com/cincuranet/NETProvider/commit/1b1689ebe8f857d5ffee3ef93b8a9267e0e1dd92).