Add StreamIn and StreamOut handling to server

Signed-off-by: Max Brunsfeld <mbrunsfeld@pivotallabs.com>
Remove unused sourceSize parameter from StreamIn

Signed-off-by: Max Brunsfeld <mbrunsfeld@pivotallabs.com>