Http: use connect-js for request routing

It allows us to break up the logic, giving more clarity to the flow of
requests.