Fix warning about a struct not being defined outside of AsyncSocket