Many Improvements.

Added basicauth support, single completion block, and other.