restsharp/RestSharp — pull request #253 by balauru (2012-04-18 11:18:07+00:00)
Title: ExecuteAsync<T> fails with InvalidCastException

Hi,

On the master branch I've added the following test that fails in AsyncTests:

```C#
[Fact]
public void Can_Perform_GET_Async_Without_Async_Handle_And_StrongTyped()
{
const string baseUrl = "http://localhost:8080/";
const string val = "Basic async test";
var resetEvent = new ManualResetEvent(false);
using (SimpleServer.Create(baseUrl, Handlers.EchoValue(val)))
{
var client = new RestClient(baseUrl);
var request = new RestRequest("");

client.ExecuteAsync