fix for node v0.11 differences. url.parse was returning  instead of an empty object when no params were found in the url.
fix style preference
Introduce webfinger changes in a back-compatible way.