! Moved HTTP-related code to HTTPTransport class