Flushed the socket before it ends
Moving some things around to get reliable Twilio posts
Merge #447 r=@johnnyman727: Flushed the socket before it ends

Fixes #445 and #422.