Added JAXB Codec

Added support for encoding and decoding XML responses with JAXB.

Opened a new pull request with the squashed commits.
nit rid extra 2 newlines