Handle 2i timeout

Fix 60sec hardcoded timeout on http stream.
Fix mochiweb crash error on http stream timeout firing

Tests are here