Connected socket to Twitter API