move to polling
clean up the invalid socket type directive to ignore default settings