Add range checking to amqp_inputs

Signed-off-by: Mike Stitt <mikes@spindance.com>