implemented Response class, seems to work fine so far, but needs tons of testing, especially when redirecting, clearing the response etc. refs #187