Add support for extra parameters

Thanks to sebastianrodriguez for the support in #13
I didn't take in the thread_pool_min/max since it's redundant

fixes #13