add config to limit ShellBolt internal _pendingWrites queue length

to fix #541, replace #555