Initialize `_lastMessageId` in InitializePersistentState which should now return a Task.

You should first look for the `messageId` the query string in case the request is coming from an older client. We should only check the form body for the `messageId` if the message id isn't in the query string. This logic can be shared across all transports instead of being long polling specific.