added signal handling for proper termination
setting high-water-mark for send and receive buffers of the socket to the same value from the command line argument
correctly handling the output buffer estimator of the HLT component to determine the size of the output buffer; fixing the --msgsize option which allows to specify a fixed buffer; minor formatting of error an message