Some more checks and fixes on type information.

Add some tests for new mssql date/time.
Fix some type information for these types.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Make timeout3 work correctly on Windows.

This test require socket initialization under Windows.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>