Taking Encoding into consideration when decoding the input stream.
Merge pull request #21 from posto/master

Encoding support for jaxrs 0.8