initial work on HttpInterface (very incomplete)