Added helper method ReceiveMessage with timeout.

Simple helper method, since the alternative is to subscribe to the ReceiveReady event and use the Poll method with a timeout, which is not exactly "pretty".