Removed GET params for app id and api key, use headers only. Bugfix for accept custom headers. Code improvements