[2.8.x] Add deprecated put(Object key, Object value) to RequestContext to provide binary compatibility with 2.7

Backported from #450