Expand reason codes
Merge branch 'javascript-porting' into jake-thruput-with-rtt

Conflicts:
	apps-javascript/thruput-with-rtt/test/tests.js