added flag for close on proton session
use AMQP sasl credentials for auth and change test to use guest login
added amqp to user manual
added check for protocol and version
fix receivebody to return null on null message