Add canRead/Write to MarshallingHttpMessageConverter

Issue: SPR-10463