The following patch includes support for a new API call
NXTransCleanupForReconnect, which basically clears the state of
nxcomp proxy side (modified nxproxy), so that a reconnection is
Usually nxproxy clears the status of the connection by doing an
exit and launching a new nxproxy. This strategy does not work for
applications in IOS which do not allow forking.
Special care has been taking to not modify any of the other nxcomp