Added complete support to RFC

We now listen to Authorization header too.