adds socket notification on streaming twitter and db