Add queue limit and fix TCP transport by adding message delimiter (LF)