some changes to make it easier to debug, plus made some modifications to conform to linkedin's interpretation of oauth 1.0a