Changing events socket:*, thread:*
Update docs, events, add threads