setup postgres on travis
support start msg and build up connection as ssl(prefered) or without ssl if the server doesn't support it