socket support
Fix text/plain problem