added rate limits to socket message api