Added auto reconnect to FreeRDP core and X11 client
Fixed tls_read and tls_write to prevent a subsequent crash in SSL_shutdown when read/write errors occur.
Modified TLS code to handle disconnects a little cleaner.
Fixed comment in tls_disconnect.
Revert "Fixed comment in tls_disconnect."

This reverts commit 7f040406acca031d9e7f2e8c397a8348e13e9db9.
Revert "Modified TLS code to handle disconnects a little cleaner."

This reverts commit c273a4ac5e7cca51fc7dbdc10a683227bb164120.
Revert "Fixed tls_read and tls_write to prevent a subsequent crash in SSL_shutdown when read/write errors occur."

This reverts commit 2a4923835143b4196ca7cafdaece687e93e79beb.
Modified FreeRDP core to ignore SIGPIPE signal.  This signal was being generated during a call to SSL_shutdown when the socket is in a disconnected state.  The proper way to handle this is to ignore SIGPIPE and allow the write system call to report an errno of EPIPE.
Added #define for SOL_TCP to fix compilation error on iOS
Changed #define for SOL_TCP to be IPPROTO_TCP instead of 6
Merge pull request #1664 from vworkspace/auto-reconnect

Addition of auto reconnect to FreeRDP core and X11 client