Improved meterpreter compatibility