Issue 58

Hi, it seems Issue 58 that I just created is caused by options.headers being just a reference of apiConfig.headers instead of a copy/clone of it.