Weird mixups in native embedded client

These fixes is founded by using fbembed server on x64 OS.
Maybe some fixes should be discussed.
source is boxed DateTime not TimeSpan. On Unboxing throws InvalidCastException. Haven't time to research it deeper why boxed DateTime. This bug found by your tests with embedded configuration.