Stub libKDays

with minor changes to XMLHTTP.
XMLHTTP will support more complex callback functions.