Started rebuild virgilio-http.

Implementing the 'specification' described in pseudocode.js.