Add support for max queue size in network targets

To ensure we don't use up a lot of memory, allow setting a maximum queue
size for TCP target. Network target can be decorated with maxQueueSize
attribute where the default value is zero, meaning infinite queue size.
fixes #88