feature: support custom status code with segmented redirects. Closes #50