added TODOs and remoteAddress field to HTTPRequest