Mllp support

Closes #112

@rcrichton I think this is ready for review.
#172