Allow istat port to be configured 

Fixes #129