Remote logging support for .net driver, simple port from java. Part 1.