allow serversockets to listen / close

Fixes #34