OSX: Added wrapper methods for Bassenc.

- Added BaseCast and BaseEnc for encoding and casting.
- Added CastServerMetadata and CastServerParams structures for casting
servers.
- Updated Player with test for BaseCast/BaseEnc (commented out).