Change new get sync peer bits to a query channel.

Rather than using a dedicated channel for the sync peer request and reply,
use a single query channel that accepts a query type as well as a reply
channel.  This will allow other queries to be added in the future without
the various queries being racy.
Add warning on invalid msg type in block manager.