WIP: New HTTP API

# Do Not Submit

For review only!