update for amqp heartbeat

1. add config option for amqp heartbeat
2. fix bug for amqp heatbeat frame construction