Unit tests for mom_comm were failing because the mock
for tcp_connect_sockaddr returned a 0 for a socket
handle and later closed fd 0. This cause the fail_unless
function to fail because stdout was now closed.
tcp_connect_sockaddr now returns 10.