Updated dependencies and version of library
More priority to contentType param
Fixes #368
Logging and threadpool size at limits set
Test for threading