Add lhttpc
Fixup lhttpc
Configure REST api endpoint
Remove superflous clauses
Fixup clauses
Allow building queries without end_time
Draft REST API wrapper (WIP)