Support running in Edit Mode. Support Basic Authorization.
Do not use ThreadPool in Edit Mode, instead run synchronously in main thread.
Merge pull request #3 from rmalecki/master

Basic HTTP Authorization, support running in Editor