Building negotiate request relative uri.
CopyRighteous - adding copyright headers, minor cleanup