Removed unused imports
Fixed bad indentation and don't specify unused func args
Removed old 'self' reference

Should have been removed in 6d703c9.
Use logging's own string interpolation
Documented thread_pool and socket_queue_size config options

Config options added in c6fbe5d.