python wrapper for netcat providing a minimal mock postgresql 9.1 server to test different scenarios