add Content-Type header
headers come after open call
only use callback if provided