Add reply check before writing to remote initiated streams

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
Add ReadData function to read the entire content of a single data frame

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
Update frame handler to create stream in synchronized loop

This avoids a race condition between the creation of a parent and a child on different frame workers

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
Add functions for higher level stream management

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
Merge pull request #19 from dmcgowan/stream_improvements

Stream management improvements
Fix ungraceful connection termination goroutine leak

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
Merge pull request #21 from dmcgowan/fix_ungraceful_termination

Fix ungraceful connection termination goroutine leak
Benchmarks that also produce the C10K problem and ensure spdystream can
handle it.