Adds a finalizer that frees to allocated message buffer.
Remove unnecessary C function.
API cleanup.

- Add SendString and ReceiveString helper functions. 
- Remove ReceiveWithType. 
- Deprecate Send and Receive.