Added Time encoder for HTTP compliant datetime stamps.

Sample httptest program uses time encoder for Date: header