Add option to control use of shutdown by ${readsocket }. Bug 400