Reachability support

    - Added reachability support to app server.
    - Disable/enable submission button based on reachability.