support uu encoding

fixes #755 

@jeremy @bf4 @mikel 
What happens in unhappy cases with wrong encoding?