changed wpakeys and sendLog to use curl, so much faster