Added locking in  HttpEvent::attachAndSendAnswer
Fixed glitch
Merge branch 'dev'