Adding stream socket listener