a bunch of changes in the embedded server.

- added date header to server response.
- changed the server to spawn a thread for each request received.
- added cli logging of requests.
- improved datetime support.