test for native to preserve an active domain
call EventEmmiter constructor on native Connection

this allows to preserve an active domain on switches in libpq
Merge pull request #354 from andreypopp/native-fix-domain

Preserve an active domain on I/O in native bindings