fix https://github.com/socketstream/socketstream/issues/364"