Implemented capsule sending in the client.

Had to change the enums, dates, and byte array in the capsule class
because the server could not parse those fields.