TYPE command implementation now actually setting transfer mode
tidied up with #pragma mark