Merge from Private master commit b8d2a6971ddf17f96576983bdafb12efa1afc92d

Author: Eric Gable <v-ericg@microsoft.com>
Date:   Wed Apr 3 13:56:18 2013 -0700

    Fix unhandled socket exception.

    Add 'except IOError' to http exception handlers.

    Changed:
    Util.HttpPost
    Util._HttpGet
Merge from Private master commit 830fc84bb09aeb2043460d9833774f215a8a52be
Author: Eric Gable <v-ericg@microsoft.com>
Date:   Fri Apr 5 10:53:53 2013 -0700

    Fix Agent crash when GoalState is None.

    Changed:

    Agent.Run()