Gsql supermaster dualstack

Fixes #506 for gsqlbackend.