Spec stream:disconnected
Spec stream:disconnected handler for media:connect
Logging
tidy
Spec thread:disconnect on socket disconnect
Update logging