Connection error handling
Merge branch 'tnt-dev-master' into devel

Conflicts:
	src/pgsql_sock.erl