Use Stream.WriteAsync and ReadAsync in StreamExtensions on .NET 4.5

#1874