OFHTTPClient: Fix type mismatch on Windows