To RFC6749, first steps
Client interface updated
Updated tests and interfaces