Made socket plugin minifiable