Network Reachability check before uploading.

See #69 for details and conversation.