Bug 844705 - Should send socket data in main thread, r=echou