Add binary/ASCII transfer support

Adding in simple support to switch between ASCII and binary transfer types - helps for downloading non-text files.