Fix MessageReader and MessageWriter to compile with latest mono release

This should Fix the issue #28 "Compile error: Protocol/MessageReader.cs(579,25): error CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `T'"