fixed intermitten connection failure between the iOS app and resolution Server

Added a one second sleep after the server accepts a connection and
before it sends a confirmation to give the connection time to be
established