error handling
add mio package, malloc new buff to incomming mse (ie no predefined buf size)