version bump 0.5.0 to sync with patchboard
better www-auth header parsing algorithm from pb-js