Add fromHeader attribute for REST interface, and handles it server side
Handle fromHeader client-side
Added ressource-centric REST API test