Added exception handling to rx based server, but that looks very ugly. I think the whole design can be heavily simplified.
Added Task based variant.