Updated to use the rest.node which supports overriding headers