controller:lib: Updated code format. Added conditional statement to
check instream and outstream stream formats for ACMP connection.