I think the issue duplicates https://github.com/pgjdbc/pgjdbc/issues/165 (Sendclient-encoding in startup packet not SET)
Vladimir