server: instantiate the persistent Reader and Writer

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
server: persistent stream: constrain the functor output by the signature

Previously we had defined an output signature but not actually
constrained anything with it.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>