thin leads to eventmachine, and eventmachine leads to yaks. Look at adding adequate redirect support to tiny_server.