Extracted HTTP-related code from K2 creating this fresh komponent.