feature: added socket params for pool templates

To fix #40