Switch to config based tcp buffer sizes

Change-Id: Ia6a28a986fd903de8c19fe115e760490838fee51