socket.error filtering in send(), additional features for forms