connection data can not be mutated for thread safety
Merge pull request #308 from burns/socket_thread_safety

connection data can not be mutated for thread safety