Modified redirectToActualUrl() to use relative URL in Location: field

This is to fix a bug where adhoc image resources are redirected to /servlet-container-host/static/images rather than /proxy-host/static/images