Properly cast time_t values while printing.

On RHEL 4, 32 bit,

$ cat /etc/issue
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
Kernel \r on an \m

The following produces:

#include <stdio.h>
#include <time.h>
#include <stdint.h>

int main(void)
{
	time_t now = time(NULL);
	printf("now = %jd\n", now);
	printf("now = %jd\n", (intmax_t)now);
	return 0;
}

This Output:
now = -4612898194263019405
now = 1374253171
add by_owner process_select body with workaround for ps username limit #3002
Add a new edit_line bundle for including options to $(sys.resolv)
Merge pull request #824 from awsiv/master

Properly cast time_t values while printing.
Merge pull request #804 from tzz/stdlib/tzz-stdlib-new-features

stdlib new features: on top of #784, add the by_owner and resolvconf_o bundles
STARTTLS added to our protocol

This commit adds a new word to our network protocol: STARTTLS.
This word does nothing for now, however in the future this word will
be used to start a TLS connection between the agent and the hub.

This commit also improves the parser used in our network protocol.
Added SendTLS and ReadTLS
Renaming ReadTLS to ReceiveTLS
Adding openssl/ssl.h and -lssl
Fixing LDFLAGS
Parameter is called connection not conn
Separating functionality into manageable pieces

Splitting low level network functionality into separate files so it is
easy to keep track of TLS and normal network.

The parsing of commands is not splitted into different functions, one
for the classic way and one for TLS.
Intermediate state to share with Dimitrios
Replacing SendSocketStream calls

This is needed in order to adapt them to the new API which does not
include the socket anymore.
Fixing wrong API calls

Changing the parameters for the API calls. Still need to deal
with the shutdown of the TLS session. This means looking
where do we call SSL_shutdown and finishing the job.
More API fixes
More calls to the old API
Hoefully final references to the old api
More calls to the old API

Notice that there are a lot of places where it is assumed that there is
a socket underneath.
StartTLS uses SendTransaction