lib.connection.Stream.send(data, close) if close == True close
connection after sending the data