added GenericDelegate as base of all Delegate classes; GenericDelegate can hold a function pointer to a function with any signature
misc changes
* added ability to cancel read/write operations;
* fixes in StreamWriter
* added readAll() and recvAll() functions to Stream classes
* added keepBuffer() function to MemoryStream
* added recvFrom() and sendTo() to Socket
misc changes
misc changes