Fixed bug: Could not read large messages, because inputstream returned
earlier than expected.
merged IStartSTopConnection with IMessageGateway