rename send to _send to avoid conflict with system headers