First attempt in discarding/redirecting http requests. Inclomplete.