Introduce ConnectionFactory#UseBackgroundThreadsForIO

Make it possible to configure the client to use background
threads for I/O and heartbeat senders.
Documentation
merge bug26199 into default