Fixed SPDY Flusher.

Write were performed from within synchronized blocks, which was wrong.
Refactored the code to make these calls outside of synchronized blocks.